using Net35.Xrm.Sdk;
using System;
using System.Runtime.Serialization;
namespace Net35.Crm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed class RenewEntitlementRequest : OrganizationRequest
	{
		public Guid EntitlementId
		{
			get
			{
				if (base.Parameters.Contains("EntitlementId"))
				{
					return (Guid)base.Parameters["EntitlementId"];
				}
				return default(Guid);
			}
			set
			{
				base.Parameters["EntitlementId"] = value;
			}
		}
		public int Status
		{
			get
			{
				if (base.Parameters.Contains("Status"))
				{
					return (int)base.Parameters["Status"];
				}
				return 0;
			}
			set
			{
				base.Parameters["Status"] = value;
			}
		}
		public RenewEntitlementRequest()
		{
			base.RequestName = "RenewEntitlement";
			this.EntitlementId = default(Guid);
			this.Status = 0;
		}
	}
}
